package com.zms.maze;

public class Singleton {
	
	private static Maze maze;
	public Singleton(Maze maze)
	{
		this.maze=maze;
	}
	private static Singleton singleton=new Singleton(maze);
	public static Singleton getInstance(Maze maze)
	{
		if (singleton==null)
			return new Singleton(maze);
		else return singleton;
	}
	
	public void findPath(){};
}
